﻿<UserControl x:Class="AGHikariInjector.CrashPage"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    mc:Ignorable="d"
    d:DesignHeight="300" d:DesignWidth="400">
    <!-- Ode to the Guru meditation of old: http://en.wikipedia.org/wiki/Guru_Meditation -->
    <Grid x:Name="LayoutRoot" Background="Black">
        <Border HorizontalAlignment="Center"
                VerticalAlignment="Center"
                BorderBrush="Red"
                BorderThickness="4"
                Width="648">
            <Grid HorizontalAlignment="Center"
                  VerticalAlignment="Stretch">
                <Grid.RowDefinitions>
                    <RowDefinition Height="Auto" />
                    <RowDefinition Height="Auto"/>
                </Grid.RowDefinitions>
                <TextBlock Text="Unhandled Exception"
                           FontFamily="Courier New"
                           Margin="4"
                           FontSize="12"
                           HorizontalAlignment="Center"
                           Foreground="Red"/>
                <TextBlock Grid.Row="1"
                           Margin="4"
                           FontSize="12"
                           HorizontalAlignment="Left"
                           TextWrapping="Wrap"
                           Foreground="Red"
                           FontFamily="Courier New"
                           x:Name="txtError" />
            </Grid>
        </Border>
    </Grid>
</UserControl>
